package com.settlement.system.common.enums;

import com.settlement.system.common.base.IBaseEnum;
import lombok.Getter;

/**
 * 比较枚举
 *
 */
public enum ConditionEnum implements IBaseEnum<String> {

    EQ("eq", "等于"),
    INCLUDE("include", "包含值"),
    NE("ne", "不等于"),
    STARTS_WITH("startswith", "以XX开头"),
    ENDS_WITH("endswith", "以XX结尾");

    @Getter
    private String value;

    @Getter
    private String label;

    ConditionEnum(String value, String label) {
        this.value = value;
        this.label = label;
    }
}
